package redMoney;

import java.util.ArrayList;

public class MainRedList {
    public static void main(String[] args) {
        Manager manager = new Manager("群主",200);
        ArrayList<Integer> send = manager.send(79,3);
        System.out.println("send = " + send);
        manager.show();
        Menmber menmber1 = new Menmber("aa",2);
        Menmber menmber2 = new Menmber("bb",0);
        Menmber menmber3 = new Menmber("cc",10);
        menmber1.receive(send);
        System.out.println("成员1 " + menmber1);
        menmber1.show();
        menmber2.receive(send);
        System.out.println("成员2：" + menmber2);
        menmber2.show();
        menmber3.receive(send);
        System.out.println("成员3： " + menmber3);
        menmber3.show();
    }
}
